Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added optional token bundling in change #525

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nicolasayotte
Copy link

Added tx_builder.add_bundled_change_if_needed than takes a max tokens bundle size parameter. This allows to split the change output into multiple outputs based on a fixed number of NFTs.

Updated the (admittedly quite stale) example/index.ts and added a relevant test to example/index.spec.ts

Added tx_builder.add_bundled_change_if_needed than takes a max
tokens bundle size parameter. This allows to split the change
output into multiple outputs based on a fixed number of NFTs.

Updated the (admittedly quite stale) example/index.ts and added a
relevant test to example/index.spec.ts
@nicolasayotte
Copy link
Author

Tiny bit of context for the example/ changes: the section didn't build, it was trying to compare a mainnet address to a testnet address in the address test and all-in-all needed some work so that I could do an e2e test for my function.

@lisicky
Copy link
Contributor

lisicky commented Sep 23, 2022

Thanks @nicolasayotte ! We will review your PR : )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants